<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        body {
            background: url(img/bg.jpg);
            background-repeat:no-repeat; 
            background-attachment: fixed;
        }
        form {
            margin-top: 90px;
            margin-left: 20px;
            width: 280px;
        }
        p{
            margin: 15px;
            font-size: 15px;
            color: white;
        }
        p span {
            color: red;
        }
        .pic {
            text-align: center;
        }
    </style>
</head>
<body>
    <div id="all">
        <div class="login">        
            <form>
                <p><span>*</span>姓名：<input type="text"></p>
                <p><span>*</span>邮箱：<input type="email"></p>
                <p><span>*</span>电话：<input type="tel"></p>
                <p>性别：
                    <select name="name">
                        <option value="1">请选择</option>
                        <option value="2">男</option>
                        <option value="3">女</option>
                    </select>
                </p>
                <p>年龄：
                    <select>
                        <option value="1">请选择</option>
                        <option value="2">18</option>
                        <option value="3">19</option>
                    </select>
                </p>
                <p class="pic"><input type=image src="img/btn.jpg"></p>        
            </form>
        </div>
    </div>
</body>
</html>